{include file="header.html"}
<div class="page-header">
	<h6>
		<a href="?app=service&act=province">参保省市</a>
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			<a href="?app=service&act=city&province_id={$province_id}">参保城市</a>
			<i class="ace-icon fa fa-angle-double-right"></i>
			城市编辑
		</small>
	</h6>
</div>
<div class="row">
<div class="col-xs-12">
	<form class="form-horizontal" role="form" method="post" action="?app=service&act=city_edit" enctype="multipart/form-data">
		<input type="hidden" name="id" id="id" value="{$row->id}" />
		<input type="hidden" name="province_id" id="province_id" value="{$province_id}" />

		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="city_id"> 城市 </label>
			<div class="col-sm-10">
                <select name="city_id" id="city_id"></select>
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="end_day"> 参保截止日 </label>
			<div class="col-sm-10">
                <input type="tel" id="end_day" name="end_day" value="{$row->end_day}" class="col-sm-2" />
				<span class="some-line">请填写自然月内的某日</span>
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="min_months"> 首次购买最少月数 </label>
			<div class="col-sm-10">
                <input type="tel" id="min_months" name="min_months" value="{$row->min_months}" class="col-sm-1" />
				<span class="some-line">个月</span>
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="gjj"> 公积金 </label>
			<div class="col-sm-10">
                <input type="text" id="money" name="money" value="{$row->money}" class="col-sm-1" />
				<span class="some-line">元　最低基数</span>
				<div class="blank"></div>
                <input type="text" id="max_money" name="max_money" value="{$row->max_money}" class="col-sm-1" />
				<span class="some-line">元　最高基数</span>
				<div class="blank"></div>
                <input type="text" id="person" name="person" value="{$row->person}" class="col-sm-1" />
				<span class="some-line">%　个人缴纳百分比</span>
				<div class="blank"></div>
                <input type="text" id="firm" name="firm" value="{$row->firm}" class="col-sm-1" />
				<span class="some-line">%　企业缴纳百分比</span>
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="service_money"> 社保服务费 </label>
			<div class="col-sm-10">
				<table><tr>
					<td><input type="tel" id="service_money" name="service_money" value="{$row->service_money}" style="width:80px;" /></td>
					<td>元/月，一次性购买</td>
					<td><input type="tel" id="service_discount_month" name="service_discount_month" value="{$row->service_discount_month}" style="width:80px;" /></td>
					<td>月，每个月费用为</td>
					<td><input type="tel" id="service_discount_month_money" name="service_discount_month_money" value="{$row->service_discount_month_money}" style="width:80px;" /></td>
					<td>元，0为没有折扣</td>
				</tr></table>
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="gjj_service_money"> 公积金服务费 </label>
			<div class="col-sm-10">
				<table><tr>
					<td><input type="tel" id="gjj_service_money" name="gjj_service_money" value="{$row->gjj_service_money}" style="width:80px;" /></td>
					<td>元/月，一次性购买</td>
					<td><input type="tel" id="gjj_service_discount_month" name="gjj_service_discount_month" value="{$row->gjj_service_discount_month}" style="width:80px;" /></td>
					<td>月，每个月费用为</td>
					<td><input type="tel" id="gjj_service_discount_month_money" name="gjj_service_discount_month_money" value="{$row->gjj_service_discount_month_money}" style="width:80px;" /></td>
					<td>元，0为没有折扣</td>
				</tr></table>
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="status"> 是否显示 </label>
			<div class="col-sm-10">
				<div class="radio">
					<label>
						<input type="radio" name="status" value="1" class="ace" {if $row->status==1}checked{/if} />
						<span class="lbl"> 是</span>
					</label>
				</div>
				<div class="radio">
					<label>
						<input type="radio" name="status" value="0" {if $row->status==0}checked{/if} class="ace" />
						<span class="lbl"> 否</span>
					</label>
				</div>
			</div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="sort"> 排序 </label>
			<div class="col-sm-10">
				<input type="text" name="sort" id="sort" value="{$row->sort}" class="col-xs-2" />
				<span class="some-line">数字越小，排在越前</span>
			</div>
		</div>

		<div class="clearfix form-actions">
			<div class="col-md-offset-3 col-md-9">
				<button class="btn btn-info" type="submit">
					<i class="ace-icon fa fa-check bigger-110"></i>
					提交
				</button>

				&nbsp; &nbsp; &nbsp;
				<button class="btn" type="reset">
					<i class="ace-icon fa fa-undo bigger-110"></i>
					重置
				</button>
			</div>
		</div>
	</form>
</div>
</div>
<script>
$(function(){
	showCity({ provincecode:'{$province_id}', citycode:'{$row->city_id}', city:'#city_id' });
});
</script>
{include file="footer.html"}